package com.ohos.connect.devicecloud.iot.modular.device.model.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

/**
 * 设备名称修改
 *
 * @author Dongtao
 * @date  2024/12/30 10:43
 **/
@Getter
@Setter
public class DeviceNameUpdateDTO {

    @ApiModelProperty(value = "设备名称", position = 1)
    @NotBlank(message = "设备名称")
    private String name;

}
